package com.zwy.domain.request.oauth;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author zwy
 * @version 1.0
 * @description: GiteeBody
 * @date 2025/9/19 08:55
 */
@Data
@Component
@ConfigurationProperties(value = "oauth.gitee")
// configuration-properties注解：将配置文件中的属性映射到当前类中类似@Value注解
public class GiteeBody {
    // 客户端id
    private String clientId;
    // 密钥
    private String clientSecret;
    // 回调地址
    private String redirectUri;
}
